<?PHP 
define( "DATABASE_SERVER", "masmedio2.db.5525057.hostedresource.com" );
define( "DATABASE_USERNAME", "masmedio2" );
define( "DATABASE_PASSWORD", "h0m3R5t4RK" ); 
define( "DATABASE_NAME", "masmedio" );

//connect to the database
$mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD);

if (!$mysql) {
    die('Not connected : ' . mysql_error());
}

mysql_select_db( DATABASE_NAME, $mysql );
